package com.jml.service.impl;

import com.jml.dao.IDeptDAO;
import com.jml.service.IDeptService;
import com.jml.service.IMemberService;
import com.jml.vo.Dept;
import com.jml.vo.Member;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IDeptServiceImpl implements IDeptService {

	@Resource
	private IDeptDAO iDeptDAO;

	@Override
	public List<Dept> findAll() {
		return iDeptDAO.findAll();
	}

	@Override
	public void doCreate() {
		Dept dept = new Dept();
		dept.setDname("testas啊");
		iDeptDAO.doCreate(dept);
		int i=0;
		int i1 = 10 / i;
	}
}
